package com.bigdata.movieticketapi.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.bigdata.movieticketapi.entity.CinemaType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bigdata.movieticketapi.vo.req.PageCinemaTypeReqVO;
import com.bigdata.movieticketapi.vo.resp.PageCinemaTypeRespVO;
import com.bigdata.movieticketapi.vo.resp.SelectListRespVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author movie
 * @since 2023-11-08
 */
@Mapper
public interface CinemaTypeMapper extends BaseMapper<CinemaType> {
    IPage<PageCinemaTypeRespVO> selectPageCinemaType(IPage<?> page, @Param("vo") PageCinemaTypeReqVO vo);

    List<SelectListRespVO> selectCinemaSelectList();
}
